package com.guodi.map.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @描述：地图数据源表
 * @作者: 代鹏刚
 * @日期: 2019-12-20
 */
@Getter
@Setter
@ApiModel(value="地图数据源表")
public class MapDataSource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "数据源名称")
    private String name;

    @ApiModelProperty(value = "ArcGIS Server 数据源：datasource_server_arcgis ，Oracle SDE数据源：datasource_type_sde，在线服务数据源  ：datasource_server_oneline")
    private String sourceType;

    @ApiModelProperty(value = "数据源链接地址址")
    private String sourceUrl;

    @ApiModelProperty(value = "软件类型")
    private String softwareType;

    @ApiModelProperty(value = "数据源所属部门")
    private Long orgId;

    @ApiModelProperty(value = "数据源用户名")
    private String userName;

    @ApiModelProperty(value = "数据源用户密码")
    private String password;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Long creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Long modifier;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "数据源所属部门")
    @TableField(exist = false)
    private String orgName;
}
